Graph display device, method and computer-readable medium

ABSTRACT

A graph display device includes a condition receiver, a time information display circuitry, an instruction receiver and a graph display circuitry. The condition receiver receives a condition for specifying at least one data item from graph data including a plurality of data items. The time information display circuitry displays time information relative to a time to display a graph based on the specified data item. The instruction receiver receives an instruction for starting display of the graph. The graph display circuitry displays the graph when the instruction is received.

CROSS-REFERENCE TO RELATED APPLICATION

This application is based upon and claims the benefit of priority fromJapanese Patent Application No. 2014-198458, filed Sep. 29, 2014; theentire contents of (all of) which are incorporated herein by reference.

FIELD

Embodiments of the present invention relate to a graph display device,method and a computer-readable medium.

BACKGROUND

Graph display devices for making graphs based on numerical data anddisplaying the graphs on a display screen in order to visually representthe features and trends of the numerical data are widely used. In such agraph display device, a user can variously designate a numerical datarange, a graph form, and the like to be used to make graphs.

Also, recently, in various fields, research and development using bigdata have been carried out. Even in the use of those big data, it isvery important and widely demanded to analyze numerical data to makegraphs.

However, in big data processing, if where the amount of data to behandled is huge and a general computer is used, depending on a requestof a user, it may take a long time to make and display a graph. In thiscase, since the user cannot grasp a time necessary to make and displaythe graph, it is inconvenient.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a view illustrating an example of a display screen 100 of agraph display system 1 according to a first embodiment.

FIG. 2 is a view illustrating the configuration of the graph displaysystem 1.

FIG. 3 is a view illustrating an example of the hardware configurationsof a graph display device 2 and a server 3.

FIG. 4 is a view illustrating the functional blocks of the graph displaysystem 1.

FIG. 5 is a view illustrating an example of graph data which a storagemodule 14 stores.

FIG. 6 is a view illustrating an example of management data which thestorage module 14 stores.

FIG. 7 is a flow chart illustrating a process of the graph displaysystem 1.

FIG. 8 is a view illustrating an example of a graph which a graphdisplay module 132 displays.

FIG. 9 is a view illustrating an example of a program.

FIG. 10 is a view illustrating the functional blocks of a graph displaysystem 200 according to a second embodiment.

FIG. 11 is a view illustrating an example of graph data which a storagemodule 24 stores.

FIG. 12 is a view illustrating an example of management data which thestorage module 24 stores.

FIG. 13 is a flow chart illustrating a process of the graph displaysystem 200.

FIG. 14 is a view illustrating an example of the graph which the graphdisplay module 132 displays.

FIG. 15 is a view illustrating an example of the graph data which thestorage module 24 stores.

FIG. 16 is a view illustrating an example of the graph which the graphdisplay module 132 displays.

FIG. 17 is a view illustrating an example of the graph data which thestorage module 24 stores.

FIG. 18 is a view illustrating an example of the graph which the graphdisplay module 132 displays.

DETAILED DESCRIPTION

Various Embodiments will be described hereinafter with reference to theaccompanying drawings. Throughout this specification and the drawings,components identical to those described in regard to previous drawingsare marked with the same reference numerals, and detailed descriptionsthereof may be omitted as appropriate. According to one embodiment, agraph display device includes a condition receiver, a time informationdisplay circuitry, an instruction receiver and a graph displaycircuitry. The condition receiver receives a condition for specifying atleast one data item from graph data including a plurality of data items.The time information display circuitry displays time informationrelative to a time to display a graph based on the specified data item,on at least one display. The instruction receiver receives aninstruction for starting display of the graph. The graph displaycircuitry displays the graph when the instruction is received, on thedisplay.

First Embodiment

A graph display system 1 according to a first embodiment is a systemcapable of generating a graph based on numerical data and displaying thegraph. From a user, the graph display system 1 receives a conditionrelative to a graph to be displayed. The graph display system 1 obtainstime information relative to graph generation from the receivedcondition. If receiving a graph display instruction from the user, thegraph display system 1 starts to generate the graph and displays thegraph on a display screen.

As a result, the user can grasp a time required to display the graph, inadvance, and determine whether to make the system generate and displaythe graph. Therefore, it is possible to reduce the psychological burdenof the user.

Graphs which are mentioned in the present embodiment may be any diagramswhich can be generated corresponding to received conditions, such as ascatter plot, a pie graph, a bar graph, a polygonal line graph, an areagraph, a Gantt chart, a box plot, a table, a correlation diagram, abitmap, a tree chart, and a matrix map.

FIG. 1 is a view illustrating an example of a display screen 100 of thegraph display system 1. The graph display system 1 displays a conditioninput screen 101, a time information display screen 102, a displayinstruction button 103, and a graph display screen 104 on the displayscreen 100. The condition input screen 101 is a screen for enabling theuser to input a condition relative to a graph to be displayed. The timeinformation display screen 102 is a screen for displaying timeinformation relative to graph display from the received condition. Thedisplay instruction button 103 is a button for inputting a graph displayinstruction. The graph display screen 104 is a screen for displaying agenerated graph.

FIG. 2 is a view illustrating the configuration of the graph displaysystem 1. The graph display system 1 includes a graph display device 2and a server 3. The graph display device 2 and the server 3 areconnected through a network 4 such as the Internet.

The graph display device 2 is a device which can be operated by theuser, and is, for example, an information processing terminal such as apersonal computer (PC), a tablet PC, or a smart phone. The server 3performs at least a portion of a process of generating a graph to bedisplayed on the graph display device 2. In FIG. 2, one graph displaydevice 2 and one server 3 are shown. However, the number of graphdisplay devices 2 or the number of servers 3 may be two or more.

FIG. 3 is a view illustrating an example of the hardware configurationsof the graph display device 2 and the server 3. The graph display device2 and the server 3 have a configuration which can be used in a generalcomputer, and include a central processing module (CPU) 5, whichincludes a processor, a controller and the like, a read only memory(ROM) 6, a random access memory (RAM) 7, an input device 8, an outputdevice 9, and a communication I/F 10. The CPU 51 uses the RAM 7 as awork area to perform predetermined calculating processes according to acontrol program stored in the ROM 6 or the like. The input device 8 is adevice for inputting information from the outside, and is, for example,a keyboard, a mouse, a touch panel, and the like. The output device 9 isa device for outputting information generated inside to the outside, andis, for example, a display. The communication I/F 10 is a device makingit possible to perform information communication with an external devicethrough the network 4.

FIG. 4 is a view illustrating the functional blocks of the graph displaysystem 1. The graph display system 1 includes an input module (an inputcircuitry) 11, a processing module (a processor) 12, a display module (adisplay) 13, and a storage module (which includes a storage circuitry,memory and the like) 14. In the present embodiment, the graph displaydevice 2 includes the input module 11, the processing module 12, and thedisplay module 13. The server 3 includes the storage module 14.

The storage module 14 stores graph data which is used for graphgeneration, and management data. FIG. 5 is a view illustrating anexample of the graph data which the storage module 14 stores. Thestorage module 14 stores the graph data composed of a first element anda second element associated with each other. The first element includesa plurality of time series parameters having a time series attribute. Inthe present embodiment, on the assumption that the time seriesparameters are expressed in seconds, a description will be made. Thesecond element includes a plurality of numerical parameterscorresponding to the time series parameters and having a numericalattribute. That is, each element includes a plurality of parametershaving a common attribute.

In the present embodiment, a pair of one time series parameter and anumerical parameter corresponding to that time series parameter will bereferred to as a record. In the example of FIG. 5, a pair of a timeseries parameter “1” and a numerical parameter “10” correspondingthereto is one record. That is, data of the present embodiment isexpressed as a set of records.

FIG. 6 is a view illustrating an example of the management data whichthe storage module 14 stores. The storage module 14 stores managementunit information and number-of-records information in association witheach other. The management unit information is a set of units (referredto as management units) obtained by dividing the time series parametersin units of a predetermined range. In the example of FIG. 6, the timeseries parameters are divided in units of 60 seconds, and each unit isset as one management unit. Each number-of-records information itemrepresents the number of records including time series parametersincluded in a corresponding management unit. In the example of FIG. 6,it is shown that there are 42 records including time series parametersincluded in a management unit from 1 second to 60 seconds.

The input module 11 includes a condition input module (a condition inputcircuitry) 111 and an instruction input module (an instruction inputcircuitry) 112. The processing module 12 includes a condition receiver121, a time information calculator 122, an instruction receiver 123, anda graph generator 124. The display module 13 includes a time informationdisplay module (a time information display circuitry) 131 and a graphdisplay module (a graph display circuitry) 132.

The condition input module 111 inputs a condition relative to a graph tobe displayed, according to designation of the user. In the presentembodiment, a condition is for designating one or more time seriesparameters in the first element of the graph data stored in the storagemodule 14. For example, a condition of the present embodiment may be fordesignating a time series parameter range in the first element of thegraph data. Alternatively, a condition of the present embodiment may betime series parameters equal to or greater than a predeterminedthreshold value, time series parameters equal to or less than apredetermined threshold value, time series parameters equal to apredetermined value, or a combination thereof.

The instruction input module 112 inputs a graph display instructionaccording to designation of the user.

The condition receiver 121 receives the condition input by the conditioninput module 111. Based on the received condition, the time informationcalculator 122 acquires the management data from the storage module 14.By using the acquired management data, the time information calculator122 acquires number-of-records information satisfying the receivedcondition. Based on the acquired number-of-records information, the timeinformation calculator 122 calculates time information.

The instruction receiver 123 receives a graph display instruction inputby the instruction input module 112. In a case where the instructionreceiver 123 receives the graph display instruction, the graph generator124 acquires graph data items satisfying the condition received by thecondition receiver 121, from the storage module 14, and generates agraph based on the acquired graph data items.

The time information display module 131 displays the time informationgenerated by the time information calculator 122. The graph displaymodule 132 displays the graph generated by the graph generator 124.

Until now, the configuration of the graph display system 1 has beendescribed.

FIG. 7 is a flow chart illustrating a process of the graph displaysystem 1. In STEP S101, the condition input module 111 inputs acondition relative to a graph to be displayed, according to designationof the user. In the present embodiment, the input condition is displayedon the condition input screen 101 of the display screen 100 shown inFIG. 1.

For example, the condition input module 111 inputs a condition todesignate a time series parameter range from 30 seconds to 130 secondsin the first element. This condition is referred to as a condition “A”.

In STEP S102, the condition receiver 121 receives the input condition.The condition receiver 121 supplies the received condition to the timeinformation calculator 122 and the graph generator 124.

In STEP S103, with reference to the management data of the storagemodule 14, the time information calculator 122 acquiresnumber-of-records information corresponding to management unitinformation satisfying the received condition.

For example, in a case where the condition receiver 121 receives thecondition “A”, the time information calculator 122 searches themanagement unit information for management units including the timeseries parameter range from 30 seconds to 130 seconds, with reference tothe management data of the storage module 14. In the case of FIG. 6, atime series parameter section from 30 seconds to 60 seconds is includedin a management unit “1-60”, and a time series parameter section from 61seconds to 120 seconds is included in a management unit “61-120”, and atime series parameter section from 121 seconds to 130 seconds isincluded in a management unit “121-180”.

Therefore, the time information calculator 122 acquires anumber-of-records information item “42” corresponding to the managementunit “1-60”, a number-of-records information item “60” corresponding tothe management unit “61-120”, and a number-of-records information item“12” corresponding to the management unit “121-180”.

Since the storage module 14 stores the management unit information, thetime information calculator 122 can acquire the approximate number ofrecords with reference to the graph data stored in the storage module14, without counting all of the numbers of records satisfying thereceived condition. Therefore, it is possible to accelerate processinguntil time information calculation of the next step.

In STEP S104, the time information calculator 122 calculates timeinformation from the acquired number-of-records information.

The time information may be calculated based on the number of recordsand time information (referred to as unit time information) per onerecord. For example, unit time information per one record may becalculated based on a graph drawing time per one record, a graphgenerating time per one record, a graph data transmitting time per onerecord, a graph data acquiring time per one record, or a combinationthereof.

The time information calculator 122 may hold predetermined unit timeinformation, and calculate the time information based on the acquirednumber-of-records information and the unit time information held inadvance.

Also, the time information may be calculated based on a data size (suchas the number of bytes) and unit time information per unit data size. Inthis case, the unit time information may be determined per one data size(for example, per one byte).

In the present embodiment, the time information calculator 122calculates the time information by multiplying the acquirednumber-of-records information and the unit time information. Forexample, in a case where the condition receiver 121 receives thecondition “A”, the time information calculator 122 multiplies theacquired number-of-records information “114 (=42+60+12)” and the unittime information (10 milliseconds for one record), thereby acquiringtime information “1140 milliseconds (114 records×10 milliseconds)”.

The time information calculator 122 supplies the calculated timeinformation to the time information display module 131.

In STEP S105, the time information display module 131 displays the timeinformation. In the present embodiment, the time information displaymodule 131 displays the time information on a time information displayscreen 102 of the display screen 100 shown in FIG. 1.

For example, in a case where the condition receiver 121 receives thecondition “A”, the time information display module 131 displays the timeinformation “1140 milliseconds” calculated by the time informationcalculator 122.

In STEP S106, the instruction input module 112 inputs a graph displayinstruction according to designation of the user. In the presentembodiment, if the user designates the display instruction button 103 ofthe display screen 100 shown in FIG. 1 with the input device 8 such as amouse and a keyboard, the instruction input module 112 inputs a graphdisplay instruction.

With respect to STEP S106 and the subsequent steps, a case where a graphdisplay instruction is input will be described. In a case where a graphdisplay instruction is not input, the graph display system 1 stands byin STEP S105, or transitions to STEP S101 in which a new condition isinput.

In STEP S107, the instruction receiver 123 receives the graph displayinstruction input by the instruction input module 112. The instructionreceiver 123 supplies the received instruction to the graph generator124.

In STEP S108, the graph generator 124 acquires records corresponding tothe condition received by the condition receiver 121, from the graphdata stored in the storage module 14, and generates a graph based on theacquired records.

For example, in a case where the condition receiver 121 receives thecondition “A”, if the condition receiver 121 receives the graph displayinstruction, the graph generator 124 acquires records having time seriesparameters included in the range from 30 seconds to 130 seconds, fromthe graph data stored in the storage module 14.

In the example of FIG. 5, records each of which is a pair of a timeseries parameter and a numerical parameter and satisfies the condition“A” are (1, 10), (2, 21), (3, 31), (5, 15), (8, 52), (10, 23), (12, 25),(14, 1), (19, 44), (20, 12), (24, 2), (30, 11), . . . , and (130, 44).The graph generator 124 acquires those records from the storage module14, and generates a graph representing the correspondence relationbetween the time series parameters and the numerical parameters.

The graph generator 124 supplies the generated graph to the graphdisplay module 132.

In STEP S109, the graph display module 132 displays the supplied graph.FIG. 8 is a view illustrating an example of the graph which the graphdisplay module 132 displays in a case where the condition receiver 121receives the condition “A”. In the present embodiment, the graph displaymodule 132 displays a scatter plot on the graph display screen 104 ofthe display screen 100 shown in FIG. 1.

Until now, the process of the graph display system 1 has been described.

(First Modification)

The management data of the present embodiment has been described as datacomposed of management unit information and number-of-recordsinformation associated with each other. However, the management data maybe composed of management unit information and record data sizeinformation associated with each other.

(Second Modification)

The time information of the present embodiment is not limited to a time,and may be the number of records, a record amount, a record size, arecord scale, or any other value which is obtained using those values.

Also, with respect to each of the above described values, at least onethreshold value may be set in advance, and the time information displaymodule 131 may display, as the time information, information enablingthe user to identify whether the corresponding value is equal to or lessthan the corresponding threshold value, or not.

That is, the time information of the present embodiment may be anyinformation relative to a time necessary for graph display.

(Third Modification)

The time information display module 131 may not display the timeinformation calculated by the time information calculator 122, as it is.For example, the time information display module 131 may change the unitof the time information and then display the time information, like“1.14 seconds”, or may round off the value of the time information tothe nearest whole number and display the nearest whole number, like “1second”. That is, the time information display method may beappropriately changed according to the specification of the graphdisplay device and so on.

(Fourth Modification)

The condition of the present embodiment has been described as acondition for designating one or more time series parameters in thefirst element of the graph data stored in the storage module 14.However, a condition for designating a graph type as shown in the secondmodification may be added.

In this case, the time information calculator 122 may hold informationcomposed of predetermined unit time information and graph typeinformation associated with each other, and calculate the timeinformation based on the acquired number-of-records information, theunit time information held in advance, and a received condition fordesignating a graph type.

(Fifth Modification)

With respect to the graph display system 1 of the present embodiment, acase where the instruction receiver 123 receives a graph displayinstruction (STEP S107) and then the graph generator 124 generates agraph as shown in FIG. 7 has been described. However, the graphgenerator 124 may start to generate a graph at the time when thecondition receiver 121 receives a condition. In this case, if theinstruction receiver 123 receives a graph display instruction, the graphgenerator 124 continues generating the graph; whereas if the conditionreceiver 121 receives any other condition, the graph generator 124 stopsgenerating the graph.

(Sixth Modification)

In the present embodiment, an example in which a graph is generated fromthe graph data stored in the storage module 14 has been described.However, the storage module 14 may be a database (DB), and the graphdisplay system 1 may display information acquired from the storagemodule 14 which is a DB. In this case, the graph data which is stored inthe storage module 14 include search targets, and supplementaryinformation items (such as keywords) associated with the search targets.Also, in the management data which the storage module 14 stores, searchtargets having a common supplementary information item may be set as amanagement unit. In this case, the management data is composed ofsupplementary information and number-of-records information associatedwith each other.

(Seventh Modification)

In the present embodiment, a case where the graph display device 2 is aninformation processing terminal, and includes the input module 11, theprocessing module 12, and the display module 13, and the server 3includes the storage module 14 has been described. However, the graphdisplay device 2 may include the input module 11 and the display module13, and the server 3 may include the processing module 12.

Alternatively, the server 3 may not be used, and the graph displaydevice 2 may include the input module 11, the processing module 12, thedisplay module 13, and the storage module 14.

According to the present embodiment, even in a case where it takes along time to generate and display a graph, since it is possible to showthe user time information relative to a time necessary to display thegraph, it is possible to reduce the psychological burden of the user.Especially, with respect to big data whose data amount to be handled ishuge, since it may take several hours to several tens hours to display agraph, the present embodiment is useful.

Until now, the first embodiment has been described.

Second Embodiment

A graph display system 200 according to a second embodiment is differentfrom the first embodiment in that graph data which is used for graphdisplay is program structure data.

In the present embodiment, a program is a description of commands to aninformation processing apparatus, and is, for example, a source codedescribed in a program language such as C language or JAVA (registeredas a trade mark) language.

FIG. 9 is a view illustrating an example of the program. A program (asource code) shown in FIG. 9 includes a plurality of program structureunits. A program structure unit means a predetermined continuous sectionin the program. Examples of the program structure unit may include afile, a function, a loop, a conditional branch, and a scope.

That is, the program has a layered structure composed of a plurality ofprogram structure units, and a program structure unit is or is notincluded in another program structure unit.

In the example of FIG. 9, a file “File A” contains a function “Func A”.The function “Func A” contains a loop “Loop A”. This loop “Loop A” isspecified by an expression “File A: Func A: Loop A”. That is, in theexample of FIG. 9, “File A: Func A: Loop A” is established; whereas“File A: Func B: Loop A” is not established. Like this, the programrepresents the inclusion relation among the program structure units.Data representing the inclusion relation among the program structureunits like “File A: Func A: Loop A” are referred to as program structuredata.

FIG. 10 is a view illustrating the functional blocks of the graphdisplay system 200. The graph display system 200 includes a storagemodule (which includes a storage circuitry, a memory and the like) 24,instead of the storage module 14, as compared to the graph displaysystem 1 of the first embodiment. Similarly to the storage module 14 ofthe first embodiment, the storage module 24 stores graph data which isused for graph generation, and management data. However, the storagemodule 24 stores program structure data as the graph data.

FIG. 11 is a view illustrating an example of the graph data which thestorage module 24 stores. As shown in FIG. 11, the storage module 24stores the graph data composed of a first element and a second elementassociated with each other. The first element includes a plurality ofprogram structure data items. That is, the first element has a programstructure attribute. The second element includes numerical data items(in this example, performance times (milliseconds)) corresponding to theprogram structure data items, respectively. That is, the second elementhas a performance time attribute. For example, in FIG. 11, it is shownthat the performance time of a process corresponding to the loop “LoopA” expressed by “File A: Func A: Loop A” is 10 milliseconds. In thepresent embodiment, the numerical data may be any data which can beexpressed by numbers corresponding to the program structure data.Examples of the numerical data of the present embodiment include aperformance time, a memory access time, the number of memory accesstimes, and the number of command performance times.

Also, in the present embodiment, a pair of a program structure data itemand a performance time corresponding to the corresponding programstructure data item is referred to as a record.

FIG. 12 is a view illustrating an example of the management data whichthe storage module 24 stores. Similarly in the first element, thestorage module 24 stores management unit information andnumber-of-records information in association with each other. Managementunits are determined according to a predetermined rule. In the presentembodiment, program structure data specifying data structure units inlayers higher than the bottom data structure unit of the layeredstructure are used as the management units. A number-of-recordsinformation item represents the number of records corresponding to aprogram structure data item included in a management unit. In theexample of FIG. 12, it is shown that, in a management unit “File A: FuncA”, 62 records (program structure data items) exist.

FIG. 13 is a flow chart illustrating a process of the graph displaysystem 200. The present embodiment is the same as the first embodimentin the basic process flow, but is different from the first embodiment ina condition which is received, and graph data and management data whichare stored in the storage module 24. Therefore, the present embodimentwill be described below taking an example. Also, in the presentembodiment, a display screen is the same as the display screen 100 ofthe first embodiment.

In STEP S201, the condition input module 111 inputs a condition relativeto a graph to be displayed, according to designation of the user. In thepresent embodiment, a condition is for designating one or more programstructure data items in the first element of the graph data stored inthe storage module 24. For example, a condition of the presentembodiment may be for designating one or more program structure unitsincluded in a specific program structure unit. Alternatively, acondition may for designating every program structure unit included inlayers lower than a specific program structure unit.

In the present embodiment, the input condition is displayed on thecondition input screen 101 of the display screen 100 shown in FIG. 1.

For example, the condition input module 111 inputs a condition todesignate program structure data included in “File A”, in the firstelement. This condition hereinafter will be referred to as a condition“B”.

In STEP S202, the condition receiver 121 receives the input condition.The condition receiver 121 supplies the received condition to the timeinformation calculator 122 and the graph generator 124.

In STEP S203, with reference to the management data of the storagemodule 24, the time information calculator 122 acquiresnumber-of-records information corresponding to management unitinformation satisfying the received condition.

For example, in a case where the condition receiver 121 receives thecondition “B”, the time information calculator 122 searches themanagement unit information for management units representing that theyare included in “File A”, with reference to the management data of thestorage module 24. In the case of FIG. 12, management unit informationitems “File A: Func A” and “File A: Func B” having management unitsstarting with “File A:” satisfy the condition “B”.

Therefore, the time information calculator 122 acquires anumber-of-records information item “62” corresponding to the managementunit “File A: Func A”, and a number-of-records information item “60”corresponding to the management unit “File A: Func B”.

In STEP S204, the time information calculator 122 calculates timeinformation from the acquired number-of-records information.

Even in the present embodiment, similarly in the first embodiment, thetime information calculator 122 calculates time information bymultiplying the acquired number-of-records information and the unit timeinformation. For example, in a case where the condition receiver 121receives the condition “B”, the time information calculator 122multiplies the acquired number-of-records information “112 (=62+60)” andthe unit time information (10 milliseconds per one record), therebyacquiring time information “1120 milliseconds (112 records×10milliseconds)”.

The time information calculator 122 supplies the calculated timeinformation to the time information display module 131.

In STEP S205, the time information display module 131 displays the timeinformation. In the present embodiment, the time information displaymodule 131 displays the time information on the time information displayscreen 102 of the display screen 100 shown in FIG. 1.

For example, in a case where the condition receiver 121 receives thecondition “B”, the time information display module 131 displays the timeinformation “1120 milliseconds” calculated by the time informationcalculator 122.

In STEP S206, the instruction input module 112 inputs a graph displayinstruction according to designation of the user.

Also, even in the present embodiment, with respect to STEP S206 and thesubsequent steps, a case where a graph display instruction is input willbe described. In a case where a graph display instruction is not input,the graph display system stands by in STEP S205, or transitions to STEPS201 in which a new condition is input.

In STEP S207, the instruction receiver 123 receives the graph displayinstruction input by the instruction input module 112. The instructionreceiver 123 supplies the received instruction to the graph generator124.

In STEP S208, the graph generator 124 acquires records corresponding tothe condition received by the condition receiver 121, from the graphdata stored in the storage module 14, and generates a graph based on theacquired records.

For example, in a case where the condition receiver 121 receives thecondition “B”, if the condition receiver 121 receives the graph displayinstruction, the graph generator 124 acquires records having programstructure data included in “File A”, from the graph data stored in thestorage module 24.

In the example of FIG. 11, records each of which is a pair of a programstructure data item and a performance time and satisfies the condition“B” are (File A: Func A: Scope A, 10), (File A: Func A: Scope B, 21),(File A: Func A: Loop A, 31), . . . , (File A: Func B: Loop B, 15),(File A: Func B: Loop B: Loop C, 52), (File A: Func B: Loop B: Loop D,23), and the like. The graph generator 124 acquires those records fromthe storage module 24, and generates a graph representing thecorrespondence relation between the program structure data items and theperformance times.

The graph generator 124 supplies the generated graph to the graphdisplay module 132.

In STEP S209, the graph display module 132 displays the supplied graph.FIG. 14 is a view illustrating an example of a graph which the graphdisplay module 132 displays in a case where the condition receiver 121receives the condition “B” In the present embodiment, the graph displaymodule 132 displays a bar graph on the graph display screen 104 of thedisplay screen 100 shown in FIG. 1.

Until now, the process of the graph display system 200 has beendescribed.

(First Modification)

In the present embodiment, in the graph data which the storage module 24stores, the first element includes a plurality of program structure dataitems, and the second element includes numerical data itemscorresponding to the program structure data items, respectively.However, the present invention is not limited thereto. For example, thesecond elements may be character data such as information representingCPU cores having performed processes corresponding to the programstructure data items, respectively.

FIG. 15 is a view illustrating an example of the graph data which thestorage module 24 of the present modification stores. In the presentmodification, the second element is different from that in FIG. 11 inthat it is CPU core information. That is, in this example, for example,it is shown that a CPU core having performed a process corresponding toa program structure data item “File A: Func A: Scope A” is “Core 4”.Also, the management data of the present modification is the same asthat in FIG. 12.

In this case, the graph generator 124 acquires records satisfying thereceived condition, from the storage module 24, and generates a graphrepresenting the correspondence relation between the program structuredata and the CPU core information.

FIG. 16 is a view illustrating an example of the graph which the graphdisplay module 132 displays in a case where the condition receiver 121receives the condition “B”. In this example, the graph is a matrix maprepresenting the correspondence between the program structure data itemsand cores by color coding. In the present embodiment, the graph displaymodule 132 displays the corresponding matrix map on the graph displayscreen 104 of the display screen 100 shown in FIG. 1.

(Second Modification)

In addition to the first modification, the graph data which the storagemodule 24 stores may further include a third element. For example, thefirst element may be program structure data, and the second element maybe numerical data (for example, the performance times described in thepresent embodiment), and the third element may be character data (forexample, the CPU core information described in the first modification ofthe present embodiment).

FIG. 17 is a view illustrating an example of the graph data which thestorage module 24 of the present modification stores. The presentmodification is different from the case of FIG. 15 in that CPU coreinformation is added as the third element. That is, in this example, forexample, it is shown that the performance time of a processcorresponding to a program structure data item “File A: Func A: Scope A”is “10 milliseconds”, and a CPU core having performed the correspondingprocess is “Core 4”. Also, the management data of the presentmodification is the same as that in FIG. 12.

In this case, the graph generator 124 acquires the records satisfyingthe received condition, from the storage module 24, and generates agraph representing the correspondence relation among the programstructure data, the performance times, and the CPU core information.

FIG. 18 is a view illustrating an example of the graph which the graphdisplay module 132 displays in a case where the condition receiver 121receives the condition “B”. In this example, the graph is a heat matrixmap representing the correspondence between the program structure dataitems and the cores by color display and representing the performancetimes corresponding to the program structure data items, respectively,by color density. For example, the color density may be set so as tobecome higher as the performance time increases. Alternatively, thedensity may be divided according to whether the performance time isequal to or greater than a predetermined threshold value. In order todivide the density, a plurality of threshold values may be set. In thepresent modification, the graph display module 132 displays thecorresponding heat matrix map on the graph display screen 104 of thedisplay screen 100 shown in FIG. 1.

Also, the modifications described in the first embodiment can besimilarly performed even in the present embodiment.

According to the present embodiment, in an apparatus which enables auser to check the execution state of a program using a graph in a caseof making the corresponding program, even in a case where it takes along time to generate and display a graph, since it is possible to showthe user time information relative to a time necessary to display thegraph, in advance, it is possible to reduce the psychological burden ofthe user. Especially, with respect to big data including a huge amountof program structure data to be handled, since it may take several hoursto several tens hours to display a graph, the present embodiment isuseful.

Until now, the second embodiment has been described.

According to the above described embodiments, it is possible to providea graph display system or a graph display device very convenient forusers.

While certain embodiments have been described, these embodiments havebeen presented by way of example only, and are not intended to limit thescope of the inventions. Indeed, the novel embodiments described hereinmay be embodied in a variety of other forms; furthermore, variousomissions, substitutions and changes in the form of the embodimentsdescribed herein may be made without departing from the spirit of theinventions. The accompanying claims and their equivalents are intendedto cover such forms or modifications as would fall within the scope andspirit of the inventions.

What is claimed is:
 1. A graph display device comprising: a conditionreceiver that receives a condition for specifying at least one data itemfrom graph data including a plurality of data items; a time informationdisplay circuitry that displays time information relative to a time todisplay a graph based on the specified data item, on at least onedisplay; an instruction receiver that receives an instruction forstarting display of the graph; and a graph display circuitry thatdisplays the graph when the instruction is received, on the display. 2.The graph display device of claim 1, wherein: each of the plurality ofdata items has at least a common first element, and the condition is acondition for specifying the data item based on the first element. 3.The graph display device of claim 2, wherein: the number of data itemsis managed in predetermined management units based on the first element,and the time information display circuitry displays the time informationbased on the management units, on the display.
 4. The graph displaydevice of claim 3, wherein: the first element is a time series element,the condition is a condition for specifying the data item based on thetime series element, and the management units are units obtained bydividing the time series element into predetermined sections.
 5. Thegraph display device of claim 3, wherein: the first element is a programstructure element which represents a constitutional unit constituting aprogram, the condition is a condition for specifying the data item basedon the program structure element, and the management units are unitsobtained by dividing the program structure element according to apredetermined rule.
 6. The graph display device of claim 1, wherein: thetime information is based on at least one of a time, the number of dataitems, a data amount, a data size, a data scale, and existence ornon-existence of a delay.
 7. A graph display method comprising:receiving a condition for specifying at least one data item from graphdata including a plurality of data items; displaying time informationrelative to a time to display a graph based on the specified data itemaccording to the condition, on at least one display; receiving aninstruction for starting display of the graph; and displaying the graphwhen the instruction is received, on the display.
 8. A non-transitorycomputer-readable medium storing a program that causes an electronicdevice to execute a graph display processing comprising: receiving acondition for specifying at least one data item from graph dataincluding a plurality of data items; displaying time informationrelative to a time to display a graph based on the specified data itemaccording to the condition, on at least one display; receiving aninstruction for starting display of the graph; and displaying the graphwhen the instruction is received, on the display.